<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Edit page the the object 'Ficha'</title>

    <script src="../js/jquery-2.1.1.js" type="application/javascript"></script>
    <script src="../js/jquery-ui.js" type="application/javascript"></script>
    <link href="../css/jquery-ui.css" rel="stylesheet">
    <link href="../css/jquery-ui.structure.css" rel="stylesheet">
    <link href="../css/jquery-ui.theme.css" rel="stylesheet">

    <script src="../js/bootstrap.js"></script>
    <link href="../css/bootstrap.css" rel="stylesheet">

    <script src="../js/coma.js" type="application/javascript"></script>
    <!--<script src="../js/bootstrap-datepicker.js"></script>-->
    <!--<link href="../css/datepicker.css">-->

    <script>
        $(function () {

            $(document).ready(function () {
                $('.date').datepicker({
                    pickDate: true,
                    showToday: true,
                    useStrict: true,
                });
            });
        });
    </script>

    <style>
        .big_check {
            width: 16px;
            height: 16px;
        }
        .nomargin {
            margin: 0px;
            padding: 5px;
        }
    </style>


</head>

<body style="max-width: 1024px;">

    <div id="filter">
        <form id="cliente_list_filter" class="form-horizontal" object="Cliente" type="cliente">
            <fieldset>
                <!-- Form Name -->
                <legend>Búsqueda de clientes</legend>

                <div class="form-group">
                    <label class="col-md-4 control-label" for="filter_nombre">Nombre</label>
                    <div class="col-md-4">
                        <input id="filter_nombre" name="filter_nombre" type="text" placeholder="Busque por nombre" class="form-control input-md">

                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-4 control-label" for="filter_nif">NIF</label>
                    <div class="col-md-4">
                        <input id="filter_nif" name="filter_descripcion" type="text" placeholder="Buscar por NIF" class="form-control input-md">

                    </div>
                </div>

                <!-- Button -->
                <div class="form-group">
                    <div class="col-md-4">
                    </div>
                    <div class="col-md-6">
                        <button id="filter_buscar" class="btn btn-primary" onclick="search(event)">Buscar</button>
                        <button id="filter_clear" class="btn btn-inverse" onclick="clearFilters()">Limpiar</button>
                    </div>
                    <div class="col-md-2">
                        <button id="filter_buscar" class="btn btn-success" onclick="edit('Cliente', -1)">Crear nuevo</button>
                    </div>
                </div>

            </fieldset>
        </form>
        <div id="cliente_list_results" object="Cliente" type="list" class="list_results">

        </div>
    </div>
</body>

</html>